/**
  * @title: 个人信息接口
  * @description: 
  * @author JUN
  */

import { $ajaxPost } from "@/utils/request.js"


// 获取个人信息
export const getExaminee = (data) => {
    const url = "exam/examinee/getExaminee"
    return $ajaxPost(url, data)
}

// 编辑个人信息
export const update = (data) => {
    const url = "exam/examinee/update"
    return $ajaxPost(url, data)
}

// 我的报名列表
export const list = (data) => {
    const url = "exam/signup/list"
    return $ajaxPost(url, data)
}

// 注册接口
export const register = (data) => {
    const url = "register"
    return $ajaxPost(url, data)
}

// 登录
export const wxLogin = (data) => {
    const url = "wxLogin"
    return $ajaxPost(url, data)
}

// 支付
export const wxPay = (data) => {
    const url = "/wx/wxPay"
    return $ajaxPost(url, data)
}

// PC微信支付查询
export const pcCheckPay = (data) => {
    const url = "/wx/pcCheckPay"
    return $ajaxPost(url, data)
}

// 发送短信验证码
export const signupCaptcha = (data) => {
    const url = "/exam/signup/signupCaptcha"
    return $ajaxPost(url, data)
}